package com.proxy.StaticProxy;

/**
 * ecs
 *
 * @Title: com.proxy.StaticProxy
 * @Date: 2020/3/22 15:24
 * @Author: wfg
 * @Description:
 * @Version:
 */
public class ProxyUserDao implements IUserDao {

    IUserDao userDao=null;

    public ProxyUserDao(IUserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void say() {
        System.out.println("我是userDao代理处理的");
        userDao.say();
        System.out.println("我是userDao代理处理的=======");
    }
}
